package com.dlut.service;

import com.dlut.pojo.BasicData;

import java.util.List;

public interface IBasicService {

    List<BasicData> query(BasicData basicData) throws Exception;
    BasicData queryById(Integer id)throws Exception;

    Integer addBasicData(BasicData basicData) throws Exception;

    Integer updateBasicData(BasicData basicData) throws Exception;

    Integer deleteBasicData(Integer id) throws Exception;

    List<BasicData> queryAllParentData()throws Exception;

    List<BasicData> queryByParentName(String parentName)throws Exception;
}
